package com.hontech.libratest.activity.fragment

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.hontech.libratest.R
import com.hontech.libratest.activity.fragment.sub.*


class MainFragment : Fragment() {

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        val view = inflater.inflate(R.layout.fragment_main, null)
        init(view)
        return view
    }

    private fun init(view: View) {
        PushMotorSub(view)
        ElevatorMotorSub(view)
        PickDoorSub(view)
        CargoSub(view)
        OtherSub(view)
        CargoTest(view)
        RasterPickSub(view)
        ClaspSub(view)
    }
}